package com.example.redis;

import java.io.Serializable;

/**
 * Project:spring-boot-redis
 * <p>
 * Title:User.java
 * <p>
 * Description:
 * <p>
 * Copyrigth:Jiang Software LTD.co Copyright (c) 2021
 * <p>
 * 
 * @version 1.0
 * @since 1.8
 * @author jiang
 * @history 2021 jiang create
 */
public class User implements Serializable{
	private static final long serialVersionUID = 1L;
	private String name = "";
	private int age = 0;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	@Override
	public String toString() {
		return "User [name=" + name + ", age=" + age + ", toString()=" + super.toString() + "]";
	}
}
